model=/home/node27_tmpdata/xlgeng/pachong_10W_data/fairseq_data/hubert_feat/chat_1500/hubert_large_iter3_32gpu_chat1500_mine/checkpoint_last.pt
save=/home/node27_tmpdata/xlgeng/pachong_10W_data/fairseq_data/hubert_feat/chat_1500/hubert_large_iter3_32gpu_chat1500_origin
DEVICES=7
subset=test
data_dir=/home/node27_tmpdata/xlgeng/pachong_10W_data/fairseq_data/manifest/chat_1500/new2
#export PYTHONPATH=/home/work_nfs11/code/xlgeng/fairseq_mine:$PYTHONPATH
export CUDA_VISIBLE_DEVICES=$DEVICES
python infer.py $data_dir --task audio_finetuning \
--nbest 1 --path $model --gen-subset $subset --results-path $save --w2l-decoder viterbi \
--word-score -1 --sil-weight 0 --criterion ctc --labels ltr --max-tokens 2000000 \
--post-process none --batch-size 1